package com.aipp.mall.h5.domain.entity;

import com.aipp.mall.common.anno.Note;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 会员账户表对象 ums_member_account
 *
 * @author zcc
 */
@Data
@TableName("ums_member_account")
public class MemberAccount implements Serializable {

    @Serial
    private static final long serialVersionUID = 5610801527067748974L;

    @TableId(value = "member_id", type = IdType.ASSIGN_ID)
    private Long memberId;

    @Note(name = "积分余额")
    private BigDecimal integralBalance;

    @Note(name = "历史总共积分")
    private BigDecimal totalIntegralBalance;

    @Note("修改时间")
    private LocalDateTime updateTime;

    @Note("创建时间")
    private LocalDateTime createTime;

}
